
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { HtglEntity } from './entities/htglentity';

import { HtglProxy } from './htglproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/businessdevelopmentcenter/jmgl/v1.0/htgl_frm',
    entityType: HtglEntity
})
export class HtglRepository extends BefRepository<HtglEntity> {
    public name = 'HtglRepository';

    public proxy: HtglProxy;
    public paginationInfo = {
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(HtglProxy, null);
    }
}